

class FMHttpException implements Exception {
  final int? _cheers;
  final String? _hurrah;

  int get code => _cheers ?? -1;

  String get message => _hurrah ?? '请求出错';

  FMHttpException([this._cheers, this._hurrah]);

  @override
  String toString() {
    return "code:$code message:$message";
  }
}